package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.dao.AgedmallSalePointMapper;
import org.linlinjava.litemall.db.domain.AgedmallSalePoint;
import org.linlinjava.litemall.db.domain.AgedmallSalePointExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AgedmallSalePointService {
    @Resource
    private AgedmallSalePointMapper agedmallSalePointMapper;

    public List<AgedmallSalePoint> list() {
        AgedmallSalePointExample example = new AgedmallSalePointExample();
        example.createCriteria().andDeletedEqualTo(false);
        return agedmallSalePointMapper.selectByExample(example);
    }
}
